package com.dimeina.dao.impl;

import com.dimeina.dao.ScrollpicDAO;
import com.dimeina.util.BaseDAO;
import com.dimeina.vo.ScrollPic;

public class ScrollpicDAOImpl extends BaseDAO implements ScrollpicDAO {

	@Override
	//根据id修改轮播图
	public ScrollPic updScrollPic(int id) {
		// TODO 自动生成的方法存根
		return null;
	}

	@Override
	//根据id删除轮播图
	public ScrollPic delScoScrollPic(int id) {
		int result = 0;
		String sql = "DELETE FROM `scrollpic` WHERE id=?;";
		result= executeUpdate(sql, id);
		return null;
	}

}
